/****************************************************************************
** CRQLabView meta object code from reading C++ file 'crqlabview.h'
**
** Created: Sun Mar 23 17:30:20 2008
**      by: The Qt MOC ($Id: qt/moc_yacc.cpp   3.3.7   edited Oct 19 16:22 $)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#undef QT_NO_COMPAT
#include "crqlabview.h"
#include <qmetaobject.h>
#include <qapplication.h>

#include <private/qucomextra_p.h>
#if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26)
#error "This file was generated using the moc from 3.3.7. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

const char *CRQLabView::className() const
{
    return "CRQLabView";
}

QMetaObject *CRQLabView::metaObj = 0;
static QMetaObjectCleanUp cleanUp_CRQLabView( "CRQLabView", &CRQLabView::staticMetaObject );

#ifndef QT_NO_TRANSLATION
QString CRQLabView::tr( const char *s, const char *c )
{
    if ( qApp )
	return qApp->translate( "CRQLabView", s, c, QApplication::DefaultCodec );
    else
	return QString::fromLatin1( s );
}
#ifndef QT_NO_TRANSLATION_UTF8
QString CRQLabView::trUtf8( const char *s, const char *c )
{
    if ( qApp )
	return qApp->translate( "CRQLabView", s, c, QApplication::UnicodeUTF8 );
    else
	return QString::fromUtf8( s );
}
#endif // QT_NO_TRANSLATION_UTF8

#endif // QT_NO_TRANSLATION

QMetaObject* CRQLabView::staticMetaObject()
{
    if ( metaObj )
	return metaObj;
    QMetaObject* parentObject = QMainWindow::staticMetaObject();
    static const QUMethod slot_0 = {"reset", 0, 0 };
    static const QUMethod slot_1 = {"connect", 0, 0 };
    static const QUMethod slot_2 = {"skin", 0, 0 };
    static const QUMethod slot_3 = {"playFile", 0, 0 };
    static const QUMethod slot_4 = {"aboutBox", 0, 0 };
    static const QUMethod slot_5 = {"lColor", 0, 0 };
    static const QUMethod slot_6 = {"hColor", 0, 0 };
    static const QUParameter param_slot_7[] = {
	{ 0, &static_QUType_int, 0, QUParameter::In },
	{ 0, &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_7 = {"changeDim", 2, param_slot_7 };
    static const QUMethod slot_8 = {"sound", 0, 0 };
    static const QMetaData slot_tbl[] = {
	{ "reset()", &slot_0, QMetaData::Public },
	{ "connect()", &slot_1, QMetaData::Public },
	{ "skin()", &slot_2, QMetaData::Public },
	{ "playFile()", &slot_3, QMetaData::Public },
	{ "aboutBox()", &slot_4, QMetaData::Public },
	{ "lColor()", &slot_5, QMetaData::Public },
	{ "hColor()", &slot_6, QMetaData::Public },
	{ "changeDim(int,int)", &slot_7, QMetaData::Public },
	{ "sound()", &slot_8, QMetaData::Public }
    };
    static const QUParameter param_signal_0[] = {
	{ 0, &static_QUType_QString, 0, QUParameter::In }
    };
    static const QUMethod signal_0 = {"loadNewLab", 1, param_signal_0 };
    static const QMetaData signal_tbl[] = {
	{ "loadNewLab(QString)", &signal_0, QMetaData::Public }
    };
    metaObj = QMetaObject::new_metaobject(
	"CRQLabView", parentObject,
	slot_tbl, 9,
	signal_tbl, 1,
#ifndef QT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // QT_NO_PROPERTIES
	0, 0 );
    cleanUp_CRQLabView.setMetaObject( metaObj );
    return metaObj;
}

void* CRQLabView::qt_cast( const char* clname )
{
    if ( !qstrcmp( clname, "CRQLabView" ) )
	return this;
    return QMainWindow::qt_cast( clname );
}

// SIGNAL loadNewLab
void CRQLabView::loadNewLab( QString t0 )
{
    activate_signal( staticMetaObject()->signalOffset() + 0, t0 );
}

bool CRQLabView::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: reset(); break;
    case 1: connect(); break;
    case 2: skin(); break;
    case 3: playFile(); break;
    case 4: aboutBox(); break;
    case 5: lColor(); break;
    case 6: hColor(); break;
    case 7: changeDim((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2)); break;
    case 8: sound(); break;
    default:
	return QMainWindow::qt_invoke( _id, _o );
    }
    return TRUE;
}

bool CRQLabView::qt_emit( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->signalOffset() ) {
    case 0: loadNewLab((QString)static_QUType_QString.get(_o+1)); break;
    default:
	return QMainWindow::qt_emit(_id,_o);
    }
    return TRUE;
}
#ifndef QT_NO_PROPERTIES

bool CRQLabView::qt_property( int id, int f, QVariant* v)
{
    return QMainWindow::qt_property( id, f, v);
}

bool CRQLabView::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
#endif // QT_NO_PROPERTIES
